AUTOMAKE_OPTIONS = foreign

utils_inc = \
	inc/def.h \
	inc/crc32.h \
	inc/list.h \
	inc/queue.h \
	inc/stack.h \
	inc/darray.h \
	inc/epoll_fd.h \
	inc/io_tools.h \
	inc/io_sock.h \
	inc/buffer.h \
	inc/locker.h \
	inc/pthread_locker.h \
	inc/mutex.h \
	inc/atomic.h \
	inc/task.h \
	inc/mem_pool.h \
	inc/work_queue.h \
	inc/worker_pool.h \
	inc/io_base.h \
	inc/frame.h

utils_sources = \
	src/crc32.c \
	src/queue.c \
	src/stack.c \
	src/darray.c \
	src/io_tools.c \
	src/io_sock.c \
	src/mem_pool.c \
	src/buffer.c \
	src/pthread_locker.c \
	src/atomic.c \
	src/work_queue.c \
	src/worker_pool.c \
	src/io_base.c\
	src/frame.c

lib_LTLIBRARIES = libcutils.la

libcutils_la_HEADERS = $(utils_inc)

libcutils_la_SOURCES = $(utils_sources)

libcutils_la_CFLAGS = -Wall -g -DDEBUG -DATOMIC_MUTEX -I./inc
libcutils_ladir = $(includedir)/cutils
